# -*- coding: utf-8 -*-

from PyQt4 import QtCore, QtGui

from images import images_rc


try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s

class UiFinalizarPedido(object):

    def __init__(self):
            """
            
            """
            self.iconImage()



    def iconImage(self):
        """
            Carrega os icones dos botoes da tela principal.
        """
        self.pushButtonImprimirIcon = QtGui.QIcon(
        ":/vna-icon/imprimir.png")
        self.pushButtonVoltarIcon = QtGui.QIcon(
        ":/vna-icon/voltar.png")
        self.pushButtonFecharIcon = QtGui.QIcon(
        ":/vna-icon/finalizarPedido.png")



    def setupUi(self, Dialog):
        Dialog.setObjectName(_fromUtf8("Dialog"))
        Dialog.resize(430, 235)
        
        self.pushButtonImprimir = QtGui.QPushButton(Dialog)
        self.pushButtonImprimir.setGeometry(QtCore.QRect(310, 90, 81, 61))
        self.pushButtonImprimir.setObjectName(_fromUtf8("pushButtonImprimir"))
        self.pushButtonImprimir.setIconSize(QtCore.QSize(40, 40))
        self.pushButtonImprimir.setIcon(
                                       QtGui.QIcon(
                                       self.pushButtonImprimirIcon))
                                       
        self.tableWidget = QtGui.QTableWidget(Dialog)
        self.tableWidget.setGeometry(QtCore.QRect(10, 20, 261, 211))
        self.tableWidget.setObjectName(_fromUtf8("tableWidget"))
        self.tableWidget.setColumnCount(0)
        self.tableWidget.setRowCount(0)
        self.tableWidget.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
        
        self.pushButtonVoltar = QtGui.QPushButton(Dialog)
        self.pushButtonVoltar.setGeometry(QtCore.QRect(310, 20, 81, 61))
        self.pushButtonVoltar.setObjectName(_fromUtf8("pushButtonVoltar"))
        self.pushButtonVoltar.setIconSize(QtCore.QSize(42, 42))
        self.pushButtonVoltar.setIcon(
                                       QtGui.QIcon(
                                       self.pushButtonVoltarIcon))
                                       
        self.pushButtonFechar = QtGui.QPushButton(Dialog)
        self.pushButtonFechar.setGeometry(QtCore.QRect(310, 160, 81, 61))
        self.pushButtonFechar.setObjectName(_fromUtf8("pushButtonFechar"))
        self.pushButtonFechar.setIconSize(QtCore.QSize(40, 40))
        self.pushButtonFechar.setIcon(
                                       QtGui.QIcon(
                                       self.pushButtonFecharIcon))
                                       
        self.line = QtGui.QFrame(Dialog)
        self.line.setGeometry(QtCore.QRect(280, 10, 20, 221))
        self.line.setFrameShape(QtGui.QFrame.VLine)
        self.line.setFrameShadow(QtGui.QFrame.Sunken)
        self.line.setObjectName(_fromUtf8("line"))
        self.line_2 = QtGui.QFrame(Dialog)
        self.line_2.setGeometry(QtCore.QRect(400, 0, 20, 231))
        self.line_2.setFrameShape(QtGui.QFrame.VLine)
        self.line_2.setFrameShadow(QtGui.QFrame.Sunken)
        self.line_2.setObjectName(_fromUtf8("line_2"))
        
        self.retranslateUi(Dialog)
        QtCore.QMetaObject.connectSlotsByName(Dialog)
        self.dialog = Dialog



    def retranslateUi(self, Dialog):
        """
        
        """
        Dialog.setWindowTitle(QtGui.QApplication.translate(
                                "Dialog",
                                " TSM ",
                                None, 
                                QtGui.QApplication.UnicodeUTF8))
